package com.yuexin.project.account.domain;


import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yuexin.framework.aspectj.lang.annotation.Excel;
import com.yuexin.framework.web.domain.BaseEntity;

/**
 * 厨房流水账表 account_list
 * 
 * @author yuexin
 * @date 2018-10-24
 */
public class AccountList extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 厨房流水账 */
	@Excel(name = "账目id")
	private Integer accountId;
	/**  */
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@JsonFormat(pattern="yyyy-MM-dd")
	@Excel(name = "账目日期")
	private Date accountDate;
	/**  */
	@Excel(name = "物品名称")
	private String accountName;
	/**  */
	@Excel(name = "物品数量")
	private Integer accountNumber;
	/**  */
	@Excel(name = "单价")
	private Double accountPrice;
	/**  */
	@Excel(name = "金额")
	private Double accountMoney;
	/**  */
	@Excel(name = "单位")
	private String accountUnit;
	/**  */
	private String accountInfo;
	/**  */
	@Excel(name = "操作人")
	private String createBy;
	/**  */
	@Excel(name = "修改日期")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date updateTime;
	/**  */
	@Excel(name = "创建日期")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date createTime;
	/**  */
	@Excel(name = "备注")
	private String remark;
	
	/**  */
	@Excel(name = "用户名")
	private String userName;;

	public void setAccountId(Integer accountId) 
	{
		this.accountId = accountId;
	}

	public Integer getAccountId() 
	{
		return accountId;
	}
	public void setAccountDate(Date accountDate) 
	{
		this.accountDate = accountDate;
	}

	public Date getAccountDate() 
	{
		return accountDate;
	}
	public void setAccountName(String accountName) 
	{
		this.accountName = accountName;
	}

	public String getAccountName() 
	{
		return accountName;
	}
	public void setAccountNumber(Integer accountNumber) 
	{
		this.accountNumber = accountNumber;
	}

	public Integer getAccountNumber() 
	{
		return accountNumber;
	}
	public void setAccountPrice(Double accountPrice) 
	{
		this.accountPrice = accountPrice;
	}

	public Double getAccountPrice() 
	{
		return accountPrice;
	}
	public void setAccountMoney(Double accountMoney) 
	{
		this.accountMoney = accountMoney;
	}

	public Double getAccountMoney() 
	{
		return accountMoney;
	}
	public void setAccountUnit(String accountUnit) 
	{
		this.accountUnit = accountUnit;
	}

	public String getAccountUnit() 
	{
		return accountUnit;
	}
	public void setAccountInfo(String accountInfo) 
	{
		this.accountInfo = accountInfo;
	}

	public String getAccountInfo() 
	{
		return accountInfo;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}

	public String getCreateBy() 
	{
		return createBy;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}
	

    public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("accountId", getAccountId())
            .append("accountDate", getAccountDate())
            .append("accountName", getAccountName())
            .append("accountNumber", getAccountNumber())
            .append("accountPrice", getAccountPrice())
            .append("accountMoney", getAccountMoney())
            .append("accountUnit", getAccountUnit())
            .append("accountInfo", getAccountInfo())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("remark", getRemark())
            .append("userName", getUserName())
            .toString();
    }
}
